﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="categoryedit.aspx.cs" Inherits="WuxiWTO.Web.backend.categoryedit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="Stylesheet" href="admin.css" type="text/css" media="screen" />
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
        <div id="header">
            &nbsp;
        </div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td height="30" background="tab/images/tab_05.gif">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="12" height="30">
                                <img src="tab/images/tab_03.gif" width="12" height="30" />
                            </td>
                            <td>
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td width="46%" valign="middle">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td width="5%">
                                                        <div align="center">
                                                            <img src="tab/images/tb.gif" width="16" height="16" /></div>
                                                    </td>
                                                    <td width="95%" class="STYLE1" align="left">
                                                        <span class="boldText">你当前的位置</span>：[内容页面管理]-[导航模块编辑]
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="54%">
                                            <ul>
                                                <li>
                                                    <img width="14" height="14" alt="返回列表" src="tab/images/33.gif" />
                                                    <a title="返回列表" href="categoryList.aspx">返回列表</a> </li>
                                            </ul>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td width="16">
                                <img src="tab/images/tab_07.gif" width="16" height="30" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="8" background="tab/images/tab_12.gif">
                                &nbsp;
                            </td>
                            <td align="center" style="padding: 3px 2px;">
                                <table width="800px" border="0" cellpadding="0" cellspacing="1" class="GV">
                                    <tr class="GV_Item">
                                        <td colspan="2">
                                            <span style="color: Red;">填写注意点：父类别不填写默认为新建一级分类,是否在导航显示打钩的话为在导航栏显示，导航栏默认显示一级分类.存放位置意思为：该模块在首页的显示的位置，排序号是模块从上到下（导航栏为从左到右）的排列的序号。类别别称可以显示在首页相应模块的抬头。
                                            </span>
                                        </td>
                                    </tr>
                                    <tr class="GV_Alternat">
                                        <td>
                                            选择父级别/模块：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlParentCategory" runat="server" Width="300px">
                                            </asp:DropDownList>
                                            <br />
                                            (如不选择就是添加一级分类)
                                        </td>
                                    </tr>
                                    <tr class="GV_Item">
                                        <td>
                                            分类/模块名称：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtCategoryName" runat="server" Width="300px" MaxLength="20"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="req2" runat="server" ForeColor="Red" ErrorMessage="必填"
                                                ControlToValidate="txtCategoryName"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr class="GV_Alternat">
                                        <td>
                                            分类别名：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtAlias" runat="server" Width="300px" MaxLength="20"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr class="GV_Item">
                                        <td>
                                            是否可见：
                                        </td>
                                        <td>
                                            <asp:CheckBox ID="chkVisiable" Text="是否显示在导航栏？（对一级分类可用）" runat="server" />
                                        </td>
                                    </tr>
                                     <tr class="GV_Alternat">
                                        <td>
                                            该模块只有单一页面：
                                        </td>
                                        <td>
                                            <asp:CheckBox ID="chkSingle" Text="选择的话表示改模块下只有一篇文章(类似于联系我们等)" Checked="false" runat="server" />
                                        </td>
                                    </tr>
                                    <tr class="GV_Item">
                                        <td>
                                            排序号：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtOrder" runat="server" Width="300px" MaxLength="3"></asp:TextBox><br />
                                            (不填的话默认为0)
                                        </td>
                                    </tr>
                                    <tr class="GV_Alternat">
                                        <td>
                                            首页显示位置：
                                        </td>
                                        <td>
                                            <asp:DropDownList runat="server" ID="ddlPosition">
                                                <asp:ListItem Text="--请选择--" Value="N" />
                                                <asp:ListItem Text="左边" Value="L" />
                                                <asp:ListItem Text="右方上侧" Value="RT" />
                                                <asp:ListItem Text="右方中间" Value="RM" />
                                                <asp:ListItem Text="右方下侧(左)" Value="RBL" />
                                                <asp:ListItem Text="右方下侧(Tab)" Value="RB" />
                                                <asp:ListItem Text="底部" Value="B" />
                                            </asp:DropDownList>
                                            <br />
                                            (如果不选的话该模块将不出现在首页)
                                        </td>
                                    </tr>
                                    <tr class="GV_Item">
                                      <td>
                                        链接地址：
                                      </td>
                                      <td>
                                        <asp:TextBox ID="txtURL" runat="server" Width="300px" MaxLength="100"></asp:TextBox><br />
                                        (如果该分类不是导向默认页面，则添加链接地址,请填写完整URL)
                                      </td>
                                    </tr>
                                     <tr class="GV_Alternat">
                                            <td>
                                                其它选项：
                                            </td>
                                            <td>
                                                 <asp:CheckBox Text="跳转到子页面" runat="server" ID="chkSpecial" />&nbsp;&nbsp;<br />
                                                 <span>(最父级别导航可用)</span>
                                            </td>
                                        </tr>
                                    <tr class="GV_Item">
                                        <td>
                                        </td>
                                        <td>
                                            <asp:Button ID="btnOK" runat="server" Text="保存" CssClass="commonButton" Width="60px"
                                                CausesValidation="true" OnClick="btnOK_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td width="8" background="tab/images/tab_15.gif">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="35" background="tab/images/tab_19.gif">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="12" height="35">
                                <img src="tab/images/tab_18.gif" width="12" height="35" />
                            </td>
                            <td align="center">
                            </td>
                            <td width="16">
                                <img src="tab/images/tab_20.gif" width="16" height="35" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
